﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BaoCaoDinhKem_Update.aspx.cs"
    Inherits="AIC_CD.BaoCaoDinhKem_Update" MasterPageFile="~/Site1.Master"  MaintainScrollPositionOnPostback="true"%>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="MainContent">
    <div id="Div1" class="FormTitle" runat="server">
        <p class="TextTitle">
            Cập nhật báo cáo đính kèm
            <asp:ImageButton CssClass="btnExit" ID="ImageButton1" runat="server" ImageUrl="Images/exit.png"
                Height="24px" OnClick="ImageButton1_Click" />
        </p>
    </div>
    <div class="FormMain">
        <div class="labelNotice">
            <label id="lblNotice" style="float: right; color: Red" runat="server" visible="false">
            </label>
        </div>
        <table class="BaoCaoDinhKem">
            <tr>
                <td>
                    Đơn vị :
                </td>
                <td>
                    <asp:Label ID="lblDonVi" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Chọn kỳ báo cáo :
                </td>
                <td>
                    <asp:DropDownList ID="ddlKyBaoCao" runat="server" CssClass="ControlDropdown" AutoPostBack="True"
                        OnSelectedIndexChanged="ddlKyBaoCao_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Chọn báo cáo :
                </td>
                <td>
                    <asp:DropDownList ID="ddlTenBaoCao" runat="server" CssClass="ControlDropdown" AutoPostBack="True"
                        OnSelectedIndexChanged="ddlTenBaoCao_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Tên báo cáo :
                </td>
                <td>
                    <asp:TextBox ID="txtTenBaoCao" runat="server" CssClass="ControlDropdown" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    File đính kèm :
                </td>
                <td>
                    <asp:LinkButton ID="lbtFileDinhkem" runat="server" OnClick="lbtFileDinhkem_Click"></asp:LinkButton>
                    <asp:FileUpload ID="fulFileDinhKem" runat="server" CssClass="ControlDropdown" />
                    <triggers>
                       <asp:PostBackTrigger ControlID="btnXemCiTiet" />
                    </triggers>
                    <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="CustomValidator">
                    </asp:CustomValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <div>
                        Soạn thảo nội dung báo cáo :
                        <FCKeditorV2:FCKeditor ID="txtNoiDung" runat="server" Height="300" ToolbarStartExpanded="false">
                        </FCKeditorV2:FCKeditor>
                        <asp:Button ID="btnXemCiTiet" runat="server" Text="Cập nhật báo cáo" OnClick="btnXemCiTiet_Click"
                            CssClass="cmdBtn" />
                        <div id="lblChitiet" runat="server">
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
